{"ast":null,"code":"import React from\"react\";import'./UserStatus.scss';import classNames from\"classnames\";import{jsx as _jsx}from\"react/jsx-runtime\";var UserStatus=function UserStatus(props){return/*#__PURE__*/_jsx(\"span\",{className:classNames('status',{\"status--online\":props.status}),children:props.status?'в сети':'не в сети'});};export default UserStatus;","map":{"version":3,"names":["React","classNames","UserStatus","props","status"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/components/UserStatus/index.tsx"],"sourcesContent":["import React from \"react\";\nimport {UserStatusProps} from \"../../models/props/UserStatusProps\";\nimport './UserStatus.scss';\nimport classNames from \"classnames\";\n\nconst UserStatus: React.FC<UserStatusProps> = (props) => {\n    return (\n        <span className={\n            classNames('status', {\"status--online\": props.status})\n        }>\n            {(props.status)? 'в сети': 'не в сети'}\n        </span>\n    );\n}\n\nexport default UserStatus;"],"mappings":"AAAA,MAAOA,MAAK,KAAM,OAAO,CAEzB,MAAO,mBAAmB,CAC1B,MAAOC,WAAU,KAAM,YAAY,CAAC,2CAEpC,GAAMC,WAAqC,CAAG,QAAxCA,WAAqC,CAAIC,KAAK,CAAK,CACrD,mBACI,aAAM,SAAS,CACXF,UAAU,CAAC,QAAQ,CAAE,CAAC,gBAAgB,CAAEE,KAAK,CAACC,MAAM,CAAC,CACxD,UACKD,KAAK,CAACC,MAAM,CAAG,QAAQ,CAAE,WAAW,EACnC,CAEf,CAAC,CAED,cAAeF,WAAU"},"metadata":{},"sourceType":"module"}